package day0605;

import java.util.Scanner;

public class Test2 {

    public static void main(String[] args) {
        Scanner sa=new Scanner (System.in);
        for(int s=1;  s<=10;  s++){
            int n=sa.nextInt();
            System.out.println(n*4);
        }

    }
}
